package com.jackiechancinema.ssm.dao;

import com.jackiechancinema.ssm.dto.CustomerDto;
import com.jackiechancinema.ssm.entity.Customer;

import java.util.List;

public interface CustomerDao {
    //新增
    int insert(Customer customer);
    //查询
    List<CustomerDto> selectAll(Customer customer);
    //删除
    int delete(int id);
    //批量删除
    int batchDel(List<Integer> list);
    //修改
    int update(Customer customer);

    int insertBatch(List<Customer> list);
}
